<?php
namespace app\cgi\controller;
use think\Db;
use think\Lang;
use think\Config;
class User extends Base{
    public $post = null;
    public function _initialize(){
        $this->mustLogin();
    }

    public function index(){

        $this->response('',[
            'nodes'=>$this->getUserMenu($this->communityUser['id'])
        ]);
    }
}